package cdu.sl;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan("cdu.sl.mapper")
@SpringBootApplication
@EnableTransactionManagement  // 启用声明式事务注解
@EnableCaching   // 开启缓存注解
public class FlashCardsApplication {
    public static void main(String[] args) {
        SpringApplication.run(FlashCardsApplication.class, args);
    }
}